home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS in a Box 7
/
BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso
/
Files
/
Hyper
/
S-Sh
/
SD Gradebook.cpt
/
SuperDuper Gradebook 1.25
/
card_5536.txt
< prev
next >
Wrap
Text File
|
1988-07-21
|
2KB
|
94 lines
-- card: 5536 from stack: in.25
-- bmap block id: 8844
-- flags: 4000
-- background id: 2780
-- name: Notes
-- part 1 (field)
-- low flags: 00
-- high flags: 0007
-- rect: left=19 top=84 right=317 bottom=395
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 9
-- style flags: 0
-- line height: 12
-- part name: Notes
-- part 2 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=417 top=240 right=263 bottom=467
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: clear
----- HyperTalk script -----
on mouseUp
answer "This will delete all data on this card" with "Go Ahead" or "cancel"
if it is "cancel" then
exit mouseup
else
put empty into card field "notes"
end if
end mouseUp
-- part 3 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=401 top=293 right=315 bottom=488
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: to Records
----- HyperTalk script -----
on mouseUp
visual effect dissolve
go card "first record"
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: A004
-- rect: left=399 top=266 right=288 bottom=488
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 3
-- text size: 9
-- style flags: 256
-- line height: 12
-- part name: Make Text File
----- HyperTalk script -----
on mouseUp
global Gradebookname
put Gradebookname&".notes" into filename
ask "Give a name to the file" with filename
if it is empty then
exit mouseup
else
put it into filename
end if
open file filename
write card field "notes" to file filename
close file filename
beep
end mouseUp